summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Ben Hutchings [Mon, 26 Apr 2021 16:27:16 +0000 (18:27 +0200)]
kbuild: Abort build if SUBDIRS used
Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/987575
DKMS and module-assistant both build OOT modules as root. If they
build an old OOT module that still use SUBDIRS this causes Kbuild
to try building a full kernel, which obviously fails but not before
deleting files from the installed headers package.
To avoid such mishaps, detect this situation and abort the build.
The error message is based on that used in commit
0126be38d988
"kbuild: announce removal of SUBDIRS if used".
Gbp-Pq: Topic debian
Gbp-Pq: Name kbuild-abort-build-if-subdirs-used.patch
Ben Hutchings [Thu, 10 Dec 2020 16:31:39 +0000 (17:31 +0100)]
kbuild: Look for module.lds under arch directory too
Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/975571
The module.lds linker script is now built under the scripts directory,
where previously it was under arch/$(SRCARCH).
However, we package the scripts directory as linux-kbuild, which is
meant to be able to do support native and cross-builds. That means it
shouldn't contain files for a specific target architecture without a
wrapper to select between them, and it doesn't appear that linker
scripts are powerful enough to implement such a wrapper.
Building module.lds in a different location would require relatively
large changes. Moving it in the package build rules can work, but we
need to support custom kernel builds from the same source so we can't
assume it's moved.
Therefore, we move module.lds under the arch build directory in
rules.real and change Makefile.modfinal to look for it in both places.
Gbp-Pq: Topic debian
Gbp-Pq: Name kbuild-look-for-module.lds-under-arch-directory-too.patch
Bastian Blank [Tue, 4 Aug 2020 09:44:37 +0000 (09:44 +0000)]
[PATCH 2/2] perf/traceevent: Support asciidoctor for documentation
From
cd02fc78859ef9aefd7c92406f9523622da0b472 Mon Sep 17 00:00:00 2001
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name perf-traceevent-support-asciidoctor-for-documentatio.patch
Bastian Blank [Tue, 4 Aug 2020 09:44:19 +0000 (09:44 +0000)]
[PATCH 1/2] Documentation: Drop sphinx version check
From
252aa79fdbd4ac2da09d9b98f81bf11f5e3e1870 Mon Sep 17 00:00:00 2001
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name documentation-drop-sphinx-version-check.patch
Ben Hutchings [Fri, 22 Jun 2018 16:27:00 +0000 (17:27 +0100)]
android: Enable building ashmem and binder as modules
Bug-Debian: https://bugs.debian.org/901492
We want to enable use of the Android ashmem and binder drivers to
support Anbox, but they should not be built-in as that would waste
resources and increase security attack surface on systems that don't
need them.
- Add a MODULE_LICENSE declaration to ashmem
- Change the Makefiles to build each driver as an object with the
"_linux" suffix (which is what Anbox expects)
- Change config symbol types to tristate
Update:
In upstream commit
721412ed3d titled "staging: remove ashmem" the ashmem
driver was removed entirely. Secondary commit message:
"The mainline replacement for ashmem is memfd, so remove the legacy
code from drivers/staging/"
Consequently, the ashmem part of this patch has been removed.
Gbp-Pq: Topic debian
Gbp-Pq: Name android-enable-building-ashmem-and-binder-as-modules.patch
Ben Hutchings [Mon, 7 Sep 2020 01:51:53 +0000 (02:51 +0100)]
Export symbols needed by Android drivers
Bug-Debian: https://bugs.debian.org/901492
We want to enable use of the Android ashmem and binder drivers to
support Anbox, but they should not be built-in as that would waste
resources and increase security attack surface on systems that don't
need them.
Export the currently un-exported symbols they depend on.
Gbp-Pq: Topic debian
Gbp-Pq: Name export-symbols-needed-by-android-drivers.patch
Ben Hutchings [Fri, 13 Apr 2018 19:10:28 +0000 (20:10 +0100)]
wireless: Add Debian wireless-regdb certificates
Forwarded: not-needed
This hex dump is generated using:
{
for cert in debian/certs/wireless-regdb-*.pem; do
openssl x509 -in $cert -outform der;
done
} | hexdump -v -e '1/1 "0x%.2x," "\n"' > net/wireless/certs/debian.hex
Gbp-Pq: Topic debian
Gbp-Pq: Name wireless-add-debian-wireless-regdb-certificates.patch
Adriaan Schmidt [Mon, 4 Apr 2022 11:38:33 +0000 (13:38 +0200)]
tools: install perf python bindings
Bug-Debian: http://bugs.debian.org/860957
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name tools-perf-install-python-bindings.patch
Ben Hutchings [Mon, 11 May 2015 02:51:07 +0000 (02:51 +0000)]
linux-tools: Install perf-read-vdso{,x}32 in directory under /usr/lib
Gbp-Pq: Topic debian
Gbp-Pq: Name tools-perf-perf-read-vdso-in-libexec.patch
Nobuhiro Iwamatsu [Mon, 12 Aug 2024 18:18:17 +0000 (20:18 +0200)]
[sh4] Fix uImage build
Bug-Debian: https://bugs.debian.org/569034
Forwarded: not-needed
[bwh: This was added without a description, but I think it is done
only to avoid a build-dependency on u-boot-tools.]
Gbp-Pq: Topic debian
Gbp-Pq: Name arch-sh4-fix-uimage-build.patch
YunQiang Su [Mon, 14 May 2018 08:16:18 +0000 (16:16 +0800)]
Enable R2 to R6 emulator by default
Forwarded: not-needed
In upstream code, 'mipsr2emu' kernel option is needed
to enable R2 to R6 emulator. Since we need r6 kernel
for our r2 port, let's always enable it.
Gbp-Pq: Topic debian
Gbp-Pq: Name mips-enable-r2-to-r6-emu-by-default.patch
YunQiang Su [Mon, 16 Nov 2020 01:11:00 +0000 (09:11 +0800)]
Use RELAXED ieee754 mode for Loongson-3 as 3A 4000 is 2008-only
Forwarded: not-needed
There are 2 mode of value of IEEE NaN hardcoded by CPU.
Currently, our mipsel/mips64el port is in so-called lagacy mode.
Loongson 3A 4000 is set as the so-called 2008 mode.
To make Debian workable on Loongson 3A 4000, we need set the kerenl in
RELAXED mode.
https://web.archive.org/web/
20180830093617/https://dmz-portal.mips.com/wiki/MIPS_ABI_-_NaN_Interlinking
Gbp-Pq: Topic debian
Gbp-Pq: Name mips-ieee754-relaxed.patch
YunQiang Su [Mon, 14 May 2018 08:16:18 +0000 (16:16 +0800)]
Disable uImage generation for mips generic
Forwarded: not-needed
MIPS generic trys to generate uImage when build, which then ask for
u-boot-tools.
[bwh: Updated for 5.17:
- zload-y is no longer assigned here and appears to default to empty
- Adjust context]
Gbp-Pq: Topic debian
Gbp-Pq: Name mips-boston-disable-its.patch
Bastian Blank [Sun, 22 Feb 2009 14:39:35 +0000 (15:39 +0100)]
kbuild: Make the toolchain variables easily overwritable
Forwarded: not-needed
Allow make variables to be overridden for each flavour by a file in
the build tree, .kernelvariables.
We currently use this for ARCH, KERNELRELEASE, CC, and in some cases
also CROSS_COMPILE, KCFLAGS.
This file can only be read after we establish the build tree, and all
use of $(ARCH) needs to be moved after this.
[bwh: Updated for 5.3: include .kernelvariables from current directory
rather than using undefined $(obj).]
Gbp-Pq: Topic debian
Gbp-Pq: Name kernelvariables.patch
Ben Hutchings [Tue, 12 May 2015 18:29:22 +0000 (19:29 +0100)]
Make mkcompile_h accept an alternate timestamp string
Forwarded: not-needed
We want to include the Debian version in the utsname::version string
instead of a full timestamp string. However, we still need to provide
a standard timestamp string for gen_initramfs_list.sh to make the
kernel image reproducible.
Make mkcompile_h use $KBUILD_BUILD_VERSION_TIMESTAMP in preference to
$KBUILD_BUILD_TIMESTAMP.
Gbp-Pq: Topic debian
Gbp-Pq: Name uname-version-timestamp.patch
Ben Hutchings [Tue, 24 Jul 2012 02:13:10 +0000 (03:13 +0100)]
Include package version along with kernel release in stack traces
Forwarded: not-needed
For distribution binary packages we assume
$DISTRIBUTION_OFFICIAL_BUILD, $DISTRIBUTOR and $DISTRIBUTION_VERSION
are set.
Gbp-Pq: Topic debian
Gbp-Pq: Name version.patch
Ben Hutchings [Sat, 24 Aug 2019 18:00:41 +0000 (19:00 +0100)]
Documentation: Fix broken link to CIPSO draft
Forwarded: not-needed
We exclude the CIPSO draft text as its licence is not DFSG compliant.
Link to the IETF's online version instead.
Gbp-Pq: Topic debian/dfsg
Gbp-Pq: Name documentation-fix-broken-link-to-cipso-draft.patch
Ben Hutchings [Sat, 2 Jun 2012 18:53:38 +0000 (19:53 +0100)]
video: Remove nvidiafb and rivafb
Bug-Debian: https://bugs.debian.org/383481
Forwarded: no
These drivers contain register programming code provided by the
hardware vendor that appears to have been deliberately obfuscated.
This is arguably not the preferred form for modification.
These drivers are also largely redundant with nouveau. The RIVA 128
(NV3) is not supported by nouveau but is about 15 years old and
probably discontinued 10 years ago.
Gbp-Pq: Topic debian/dfsg
Gbp-Pq: Name video-remove-nvidiafb-and-rivafb.patch
Ben Hutchings [Mon, 17 Aug 2009 01:45:41 +0000 (02:45 +0100)]
dvb-usb-af9005: mark as broken
Forwarded: not-needed
Gbp-Pq: Topic debian/dfsg
Gbp-Pq: Name drivers-media-dvb-dvb-usb-af9005-disable.patch
Ben Hutchings [Mon, 13 Apr 2009 16:34:00 +0000 (17:34 +0100)]
Remove microcode patches for mgsuvd (not enabled in Debian configs)
Forwarded: not-needed
Gbp-Pq: Topic debian/dfsg
Gbp-Pq: Name arch-powerpc-platforms-8xx-ucode-disable.patch
Ian Campbell [Thu, 17 Jan 2013 08:55:21 +0000 (08:55 +0000)]
Tweak gitignore for Debian pkg-kernel using git
Forwarded: not-needed
[bwh: Tweak further for pure git]
Gbp-Pq: Topic debian
Gbp-Pq: Name gitignore.patch
Salvatore Bonaccorso [Mon, 12 Aug 2024 18:18:17 +0000 (20:18 +0200)]
linux (6.10.4-1) unstable; urgency=medium
* New upstream stable update:
https://www.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.10.4
- mm/huge_memory: mark racy access onhuge_anon_orders_always
- mm: fix khugepaged activation policy
- mm/migrate: make migrate_misplaced_folio() return 0 on success
- mm/migrate: move NUMA hinting fault folio isolation + checks under PTL
- mm/migrate: putback split folios when numa hint migration fails
- ext4: factor out a common helper to query extent map
- ext4: check the extent status again before inserting delalloc block
- f2fs: fix to avoid use SSR allocate when do defragment
- f2fs: assign CURSEG_ALL_DATA_ATGC if blkaddr is valid
- perf: imx_perf: fix counter start and config sequence
- [x86] perf/x86/intel: Switch to new Intel CPU model defines
- [x86] perf/x86/intel: Add a distinct name for Granite Rapids
- [armel,armhf] 9406/1: Fix callchain_trace() return value
- [arm64] HID: amd_sfh: Move sensor discovery before HID device
initialization
- perf tool: fix dereferencing NULL al->maps
- drm/gpuvm: fix missing dependency to DRM_EXEC
- drm/nouveau: prime: fix refcount underflow
- drm/vmwgfx: Make sure the screen surface is ref counted
- drm/vmwgfx: Fix overlay when using Screen Targets
- bnxt_en: Fix RSS logic in __bnxt_reserve_rings()
- netlink: specs: correct the spec of ethtool
- ethtool: rss: echo the context number back
- drm/vmwgfx: Trigger a modeset when the screen moves
- sched: act_ct: take care of padding in struct zones_ht_key
- wifi: cfg80211: fix reporting failed MLO links status with
cfg80211_connect_done
- wifi: cfg80211: correct S1G beacon length calculation
- net: phy: realtek: add support for RTL8366S Gigabit PHY
- ALSA: hda: conexant: Fix headset auto detect fail in the polling mode
- Bluetooth: btintel: Fail setup on error
- Bluetooth: hci_sync: Fix suspending with wrong filter policy
- drm/client: Fix error code in drm_client_buffer_vmap_local()
- ethtool: fix setting key and resetting indir at once
- tcp: Adjust clamping window for applications specifying SO_RCVBUF
- net: axienet: start napi before enabling Rx/Tx
- rtnetlink: Don't ignore IFLA_TARGET_NETNSID when ifname is specified in
rtnl_dellink().
- [x86] i915/perf: Remove code to update PWR_CLK_STATE for gen12
- ice: respect netif readiness in AF_XDP ZC related ndo's
- ice: don't busy wait for Rx queue disable in ice_qp_dis()
- ice: replace synchronize_rcu with synchronize_net
- ice: modify error handling when setting XSK pool in ndo_bpf
- ice: toggle netif_carrier when setting up XSK pool
- ice: improve updating ice_{t,r}x_ring::xsk_pool
- ice: add missing WRITE_ONCE when clearing ice_rx_ring::xdp_prog
- ice: xsk: fix txq interrupt mapping
- net/iucv: fix use after free in iucv_sock_close()
- [x86] drm/i915/hdcp: Fix HDCP2_STREAM_STATUS macro
- net: mvpp2: Don't re-use loop iterator
- net: phy: micrel: Fix the KSZ9131 MDI-X status issue
- [s390x] mm/ptdump: Fix handling of identity mapping area
- ALSA: hda: Conditionally use snooping for AMD HDMI
- drm/atomic: Allow userspace to use explicit sync with atomic async flips
- drm/atomic: Allow userspace to use damage clips with async flips
- netfilter: iptables: Fix null-ptr-deref in iptable_nat_table_init().
- netfilter: iptables: Fix potential null-ptr-deref in
ip6table_nat_table_init().
- net/mlx5: Always drain health in shutdown callback
- net/mlx5: Fix error handling in irq_pool_request_irq
- net/mlx5: Lag, don't use the hardcoded value of the first port
- net/mlx5: Fix missing lock on sync reset reload
- net/mlx5e: Require mlx5 tc classifier action support for IPsec prio
capability
- net/mlx5e: Fix CT entry update leaks of modify header context
- net/mlx5e: Add a check for the return value from mlx5_port_set_eth_ptys
- igc: Fix double reset adapter triggered from a single taprio cmd
- ipv6: fix ndisc_is_useropt() handling for PIO
- [riscv64] purgatory: align riscv_kernel_entry
- perf arch events: Fix duplicate RISC-V SBI firmware event name
- [riscv64] perf: riscv: Fix selecting counters in legacy mode
- [riscv64] mm: Add handling for VM_FAULT_SIGSEGV in mm_fault_error()
- [riscv64] RISC-V: Enable the IPI before workqueue_online_cpu()
- [riscv64] Fix linear mapping checks for non-contiguous memory regions
- [arm64] jump_label: Ensure patched jump_labels are visible to all CPUs
- ceph: force sending a cap update msg back to MDS for revoke op
- [s390x] fpu: Re-add exception handling in load_fpu_state()
- platform/chrome: cros_ec_proto: Lock device when updating MKBP version
- HID: wacom: Modify pen IDs
- btrfs: zoned: fix zone_unusable accounting on making block group
read-write again
- btrfs: do not subtract delalloc from avail bytes
- btrfs: make cow_file_range_inline() honor locked_page on error
- protect the fetch of ->fd[fd] in do_dup2() from mispredictions
- mptcp: sched: check both directions for backup
- ALSA: usb-audio: Correct surround channels in UAC1 channel map
- ALSA: hda/realtek: Add quirk for Acer Aspire E5-574G
- ALSA: seq: ump: Optimize conversions from SysEx to UMP
- Revert "ALSA: firewire-lib: obsolete workqueue for period update"
- Revert "ALSA: firewire-lib: operate for period elapse event in process
context"
- PCI: pciehp: Retain Power Indicator bits for userspace indicators
- drm/vmwgfx: Fix a deadlock in dma buf fence polling
- drm/vmwgfx: Fix handling of dumb buffers
- drm/ast: astdp: Wake up during connector status detection
- drm/ast: Fix black screen after resume
- drm/amdgpu: fix contiguous handling for IB parsing v2
- drm/virtio: Fix type of dma-fence context variable
- [x86] drm/i915: Fix possible int overflow in skl_ddi_calculate_wrpll()
- [arm64] drm/v3d: Prevent out of bounds access in performance query
extensions
- [arm64] drm/v3d: Fix potential memory leak in the timestamp extension
- [arm64] drm/v3d: Fix potential memory leak in the performance extension
- [arm64] drm/v3d: Validate passed in drm syncobj handles in the timestamp
extension
- [arm64] drm/v3d: Validate passed in drm syncobj handles in the performance
extension
- Bluetooth: hci_event: Fix setting DISCOVERY_FINDING for passive scanning
- nouveau: set placement to original placement on uvmm validate.
- wifi: ath12k: fix soft lockup on suspend
- wifi: mac80211: use monitor sdata with driver only if desired
- io_uring: keep multishot request NAPI timeout current
- net: usb: sr9700: fix uninitialized variable use in sr_mdio_read
- net: wan: fsl_qmc_hdlc: Convert carrier_lock spinlock to a mutex
- net: wan: fsl_qmc_hdlc: Discard received CRC
- r8169: don't increment tx_dropped in case of NETDEV_TX_BUSY
- mptcp: fix user-space PM announced address accounting
- mptcp: distinguish rcv vs sent backup flag in requests
- mptcp: fix NL PM announced address accounting
- mptcp: mib: count MPJ with backup flag
- mptcp: fix bad RCVPRUNED mib accounting
- mptcp: pm: fix backup support in signal endpoints
- mptcp: pm: only set request_bkup flag when sending MP_PRIO
- mptcp: fix duplicate data handling
[dgit import unpatched linux 6.10.4-1]
Salvatore Bonaccorso [Mon, 12 Aug 2024 18:18:17 +0000 (20:18 +0200)]
Import linux_6.10.4.orig.tar.xz
[dgit import orig linux_6.10.4.orig.tar.xz]
Salvatore Bonaccorso [Mon, 12 Aug 2024 18:18:17 +0000 (20:18 +0200)]
Import linux_6.10.4-1.debian.tar.xz
[dgit import tarball linux 6.10.4-1 linux_6.10.4-1.debian.tar.xz]